package com.questetra.OAuth.core.air
{
    import com.questetra.OAuth.core.OAuthManager
    import flash.net.URLRequest;
    import flash.net.URLVariables;

    public class AirOAuthManager extends OAuthManager
    {
        public function AirOAuthManager()
        {
            super();
        }
        
        override public function buildURLRequest(
            method:String,
            url:String,
            variables:URLVariables,
            isUseHeader:Boolean=false,
            oauth_body_hash:String=null):URLRequest
        {
            var request:URLRequest = super.buildURLRequest(method, url, variables, isUseHeader, oauth_body_hash);
            trace("***URL: " + request.url);
            request.manageCookies = false;
            return request;
        }
    }
}